package com.ssyt.common.vo;
/**
 * 用户基本信息
 * @author tyler
 * User
 * 2017年6月11日
 */
public class User {

	/* id:编号
	   email：账号（用户邮箱）
	   password：密码
	   username：用户名字
	   phone：用户电话
	   role_type：用户类型 ：1、求职者；2、公司；3、管理员',
	   is_active： 用户状态：1、未激活 2 激活 */
	private Integer id,role_type,is_active;
	private String email,username,password,phone;
	public User() {
		
	}
	public User(Integer id, Integer role_type, Integer is_active, String email,
			String username, String password, String phone) {
		super();
		this.id = id;
		this.role_type = role_type;
		this.is_active = is_active;
		this.email = email;
		this.username = username;
		this.password = password;
		this.phone = phone;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getRole_type() {
		return role_type;
	}
	public void setRole_type(Integer role_type) {
		this.role_type = role_type;
	}
	public Integer getIs_active() {
		return is_active;
	}
	public void setIs_active(Integer is_active) {
		this.is_active = is_active;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", role_type=" + role_type + ", is_active="
				+ is_active + ", email=" + email + ", username=" + username
				+ ", password=" + password + ", phone=" + phone + "]";
	}

}
